package com.ruoyi.dynamic.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.pojo.result.Pages;
import com.ruoyi.dynamic.model.pojo.entity.RoomBanUser;
import com.ruoyi.dynamic.model.pojo.request.app.AppRoomAuctionStartRequest;
import com.ruoyi.dynamic.model.pojo.request.app.AppRoomBanUserSearchRequest;

/**
 * <p>
 * 房间禁言用户 服务类
 * </p>
 * @author Gnc
 * @since 2025-01-14
 */
public interface IRoomBanUserService extends IService<RoomBanUser> {

    void addRecord(Long roomId, Long userId, Long aimUserId, Integer type);

    boolean isBlockByUser(Long roomId, Long userId, Integer type);

    Pages<RoomBanUser> banListPage(AppRoomBanUserSearchRequest request, Long userId);

    void undock(AppRoomAuctionStartRequest request, Long userId);
}
